<?php require_once('conexion.php'); ?>
<?php


if($enviar) {
 header ("location:redir.php?user=$rut&clave=$clave");
  }
?>


<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title>Home</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/cufon-titillium-900.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/coin-slider.min.js"></script>
</head>
<body>

<style type="text/css">
<!--
.Estilo4 {font-size: 18px}
.Estilo18 {
	color: #669999;
	line-height:20px;
	letter-spacing:.1em;
	font: 14px georgia;
	font-size: 10px;
}
.Estilo27 {color: #FFFFFF}
.Estilo29 {
	color: #669999;
	line-height: 20px;
	letter-spacing: .1em;
	font: 14px georgia;
	font-size: 14px;
}
-->
</style>
<style type="text/css">
<!--
.Estilo36 {
	color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 24px;
}
-->
</style>

<style type="text/css">
<!--
.Estilo37 {
	color: #7c6316
}
.Estilo38 {
	font-size: 36px;
	font-weight: bold;
	font-family: Geneva, Arial, Helvetica, sans-serif;
}
-->
</style>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#DCDCDC">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
	<td width="15" nowrap="nowrap" bgcolor="#DCDCDC">&nbsp;</td>
	<td height="60" colspan="2" nowrap="nowrap" bgcolor="#DCDCDC" class="Estilo4">&nbsp;</td>
	<td width="100%" bgcolor="#DCDCDC" class="Estilo36 Estilo27 Estilo37"><span class="Estilo38">VETERINARIA</span>  PELUVETS</td>
</tr>

	<tr bgcolor="#ffffff">
	<td colspan="4"></td>
	</tr>

	<tr bgcolor="#a4c2c2">
	<td width="15" nowrap="nowrap" bgcolor="#5e5e5e">&nbsp;</td>
	<td height="36" bgcolor="#5e5e5e" class="navText" id="navigation">&nbsp;</td>
	<td bgcolor="#5e5e5e">&nbsp;</td>
	<td width="100%" bgcolor="#5e5e5e">&nbsp;</td>
  </tr>

	<tr bgcolor="#ffffff">
	<td colspan="4"></td>
	</tr>

	<tr bgcolor="#ffffff">
	<td width="15" height="322" valign="top"></td>
	<td valign="top" width="35"></td>
	<td width="710" valign="top" bordercolor="#FFFFFF"><br />
	<table border="0" cellspacing="0" cellpadding="2" width="610">
        <tr>
          <td class="pageName"><span class="Estilo4"><font color="#336699">INICIAR SESIÓN</font></span></td>
        </tr>
	</table>
	<div align="center"><span class="Estilo18">INGRESE SU CUENTA</span><br />
	  &nbsp;<br />

   <form id="form1" name="form1" method="POST" action="<?php echo $loginFormAction; ?>">
  <label>
  <div align="center"><span class="Estilo29">Rut:</span><span class="Estilo27">......</span>
    <label></label>
    <span id="sprytextfield2">
    <label>
    <input name="rut" type="text" id="rut" maxlength="10">
    </label>
    </span></div>
  </label>
    <label>
    <div align="center"><span class="Estilo29">Clave:</span><span class="Estilo27">...</span>
    <label></label>
  <span class="Estilo27"></span></span><span id="sprytextfield1">
  <label>
  <input name="clave" type="password" id="clave" maxlength="6">
  </label>
 </span></div>
  </label>

    <label>
    <div align="center">
       <input type="submit" name="enviar" id="button" value="Entrar" />
       <label>
       <input type="reset" name="limpiar" id="limpiar" value="Limpiar">
       </label>
</div>
    </label>
    <div align="center">
      </p>
      </div>
    <p align="center"><span class="Estilo18"></span></p>
  <p>&nbsp;</p>
</form>	</td>
	<td background="martillo2.jpg"><div class="slider">
        <div id="coin-slider"> <a href="#"><img src="images/slide1.jpg" width="934" height="307" alt="" /> </a> <a href="#"><img src="images/slide2.jpg" width="934" height="307" alt="" /> </a> <a href="#"><img src="images/slide3.jpg" width="934" height="307" alt="" /> </a> </div>
        <div class="clr"></div>
      </div>
      <div class="clr"></div>
      
      
      </td>
  </tr>

	<tr>
	<td width="15">&nbsp;</td>
    <td width="35">&nbsp;</td>
    <td width="710">&nbsp;</td>
	<td width="100%">&nbsp;</td>
	</tr>
</table>

<script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
//-->
</script>
</body>
</html>
